<include file="public/header" />
<div class="page-content">
<script type="text/javascript">
function check()
{
	if (document.form1.c_names.value.match(/^\s*$/)){
		alert ("栏目名称不能为空");
		document.form1.c_names.focus();
		return false;
	}
};
</script>
</head>

<body>
<div id="spacemenu">
    <div id="leftarrow"></div>
    <div id="return1"><a href="__URL__#{?$id?}">返回上一级</a></div>
</div>
<div class="alterdiv"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:3%">
  <tr>
  <td width="15%" align="left"></td>
  <td width="85%" align="left"><div id="col_title">栏目添加</div></td>
  </tr>
  <tr>
    <td colspan="2" align="center"><div id="col_main">
    <form id="form1" name="form1" method="post" action="__URL__/incrData" onSubmit="return check()">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blue">
  <tr>
    <td width="31%" height="40" align="right">所属栏目：</td>
    <td width="69%" align="left" class="gray">{?$datas.c_names?}<input type='hidden' name="columns" value="{?$datas.id?}"></td>
  </tr>
  <tr>
    <td height="40" align="right">栏目名称：</td>
    <td align="left"><input type="text" name="c_names" id="c_names" class="htinputcss" /></td>
  </tr>
  <tr>
    <td height="40" align="center">&nbsp;</td><td height="40" align="left"><input type="submit" name="button" id="button" class="addbtnblue" value="提交" />&nbsp;&nbsp;
      <input type="reset" name="button2" id="button2" value="重置" class="resbtn" /></td>
    </tr>
</table>
</form>
</div></td>
  </tr>
</table>
</div>
</body>
</html>
